#ifndef MYTASKS_H
#define MYTASKS_H
#include <QObject>
#include <QMap>
#include <QList>

namespace Ui {
class MainWindow;
}

class AxisAdjust : public QObject{
    Q_OBJECT

public slots:
    void doAdjust(const QList<qreal>& data);
signals:
    void resultReady(QList<qreal> ampList);
private:
    //记录坐标轴上的点
    QList<QList<qreal>> numVis{QList<qreal>(), QList<qreal>(), QList<qreal>()};
    QList<QMap<qreal, int>> hashMap{QMap<qreal, int>(), QMap<qreal, int>(), QMap<qreal, int>()};
    QList<qreal> extremList{0,0,0,0,0,0};//三图接收的最小最大值
};

class PrintData : public QObject{
    Q_OBJECT

public slots:

};





#endif // MYTASKS_H
